package redora.test.rdo.model;

import org.jetbrains.annotations.NotNull;
import redora.test.rdo.model.base.JUnitPigBase;
import redora.api.fetch.Scope;
import java.sql.ResultSet;
import redora.exceptions.CopyException;

/**
* @author Redora
* @see JUnitPigBase
*/
public class JUnitPig extends JUnitPigBase {
    public JUnitPig() {
        //Initializes default values (if any).
        super();
    }

    /**
    * Initializes JUnitPig using a record in a ResultSet. The JUnitPigUtil class
    * normally uses this.
    * @param rs (Mandatory) ResultSet object using the field set defined in JUnitPigSQLBase pointing to the record you want to serialize.
    * @param offset (Mandatory) Usually 0, but if the field set is more then this object's field set you must set the offset.
    * @param scope (Mandatory) The scope of the executed query, like Scope.Table of Scope.Form.
    * @throws CopyException Wrapper for SQLException from accessing the ResultSet
    */
    public JUnitPig(@NotNull ResultSet rs, int offset, @NotNull Scope scope)
            throws CopyException {
        super(rs, offset, scope);
    }

    //You can override and add methods here, this class is only generated once and will not be overwritten
    //If you override getters, the result of the custom getter is not persisted.
}
